#!/bin/bash
baseurl=http://h2096617.stratoserver.net/brouter/segments2

set -e

cp -a db/brouter/E15_N45.rd5{,.bak}
wget -q -O db/brouter/E15_N45.rd5.new $baseurl/E15_N45.rd5
mv db/brouter/E15_N45.rd5{.new,}
cp -a db/brouter/E20_N45.rd5{,.bak}
wget -q -O db/brouter/E20_N45.rd5.new $baseurl/E20_N45.rd5
mv db/brouter/E20_N45.rd5{.new,}
